﻿namespace Gqq.Csharpindepth.Designpatter.Moduals
{
    public abstract class Animal
    {
        protected Animal(string name)
            : this(name, 4, AnimalBody.Mini)
        {
        }

        protected Animal(string name, int limbs, AnimalBody body)
        {
            Name = name;
            Lumbs = limbs;
            Body = body;
        }

        public string Name { get; set; }

        public int Lumbs { get; set; }

        public AnimalBody Body { get; set; }

        public abstract void Call();
    }
}
